package cn.iocoder.yudao.hires.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 字典-行政区域表(树形结构)新增/修改 Request VO")
@Data
public class DictCityTreeNodeVO {


    @Schema(description = "地址编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("地址编码")
    private String nodeCode;

    @Schema(description = "地区名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("地区名称")
    private String nodeName;

    @Schema(description = "父级编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("父级编码")
    private String codeParent;

    @Schema(description = "0全国、1省、2市区、3郊县、4街道、5居委会", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("0全国、1省、2市区、3郊县、4街道、5居委会")
    private Short nodeLevel;


    @Schema(description = "子类别列表")
    private List<DictCityTreeNodeVO> children;

}
